property ancestor
property jsFnValue

on new me,jsFN,argsCount
  if voidP(argsCount) then argsCount = jsFN.length
  me.ancestor = (script "scrLambda").new(argsCount)
  me.jsFnValue = jsFN
  return me
end

on ApplyList me,params
  return LingoF_InvokeJsFunction(me.jsFnValue,params)
end